- 
		Home
	
 
	- 
WP Data Sync
 
- 
3.4.4 (latest)
 
- 
Code
 
- 
Classes
 
-  DataSync 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											194 | 
										
																			
											| Dependencies | 
											6 | 
										
																			
											| Dependents | 
											2 | 
										
																	
							 
													
								
																			
											| Total lines | 
											1,973 | 
										
																			
											| Lines of code | 
											781 | 
										
																			
											| Logical lines of code | 
											393 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											616 | 
										
																			
											| Methods | 
											72 | 
										
																			
											| Properties | 
											23 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 72
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| process() | 
									B  | 
																	39 | 
													15 | 
													68 | 
							
					
				| attachment() | 
									A  | 
																	41 | 
													9 | 
													56 | 
							
					
				| set_term() | 
									A  | 
																	48 | 
													10 | 
													33 | 
							
					
				| term_meta() | 
									A  | 
																	55 | 
													8 | 
													20 | 
							
					
				| term_thumb() | 
									S  | 
																	53 | 
													7 | 
													24 | 
							
					
				| taxonomy() | 
									S  | 
																	52 | 
													7 | 
													23 | 
							
					
				| fetch_post_id() | 
									S  | 
																	49 | 
													6 | 
													34 | 
							
					
				| maybe_trash_post() | 
									S  | 
																	58 | 
													7 | 
													16 | 
							
					
				| file_type() | 
									S  | 
																	54 | 
													6 | 
													23 | 
							
					
				| term_desc() | 
									S  | 
																	55 | 
													6 | 
													20 | 
							
					
				| _term_exists() | 
									S  | 
																	49 | 
													5 | 
													32 | 
							
					
				| gallery_images() | 
									S  | 
																	50 | 
													5 | 
													29 | 
							
					
				| fetch_post_ids() | 
									S  | 
																	53 | 
													5 | 
													24 | 
							
					
				| image_array() | 
									S  | 
																	58 | 
													4 | 
													15 | 
							
					
				| save_post_meta() | 
									S  | 
																	61 | 
													4 | 
													11 | 
							
					
				| insert_post_row() | 
									S  | 
																	55 | 
													3 | 
													21 | 
							
					
				| attachment_exists() | 
									S  | 
																	59 | 
													3 | 
													16 | 
							
					
				| update_date() | 
									S  | 
																	58 | 
													3 | 
													16 | 
							
					
				| set_properties() | 
									S  | 
																	65 | 
													4 | 
													9 | 
							
					
				| insert_placeholder() | 
									S  | 
																	61 | 
													3 | 
													12 | 
							
					
				| term_id() | 
									S  | 
																	61 | 
													3 | 
													12 | 
							
					
				| post_data_apply_filters() | 
									S  | 
																	62 | 
													3 | 
													11 | 
							
					
				| post_data() | 
									S  | 
																	63 | 
													3 | 
													11 | 
							
					
				| get_post_type() | 
									S  | 
																	66 | 
													3 | 
													9 | 
							
					
				| post_data_defaults() | 
									S  | 
																	66 | 
													3 | 
													8 | 
							
					
				| post_meta() | 
									S  | 
																	66 | 
													3 | 
													8 | 
							
					
				| reset_term_taxonomy_count() | 
									S  | 
																	61 | 
													1 | 
													17 | 
							
					
				| post_data_keys() | 
									S  | 
																	59 | 
													1 | 
													16 | 
							
					
				| set_post_id() | 
									S  | 
																	72 | 
													2 | 
													6 | 
							
					
				| set_post_type() | 
									S  | 
																	72 | 
													2 | 
													6 | 
							
					
				| process_acf() | 
									S  | 
																	63 | 
													2 | 
													10 | 
							
					
				| featured_image() | 
									S  | 
																	73 | 
													2 | 
													5 | 
							
					
				| is_valid_image_url() | 
									S  | 
																	67 | 
													2 | 
													7 | 
							
					
				| fetch_image_data() | 
									S  | 
																	63 | 
													2 | 
													10 | 
							
					
				| ssl_verify() | 
									S  | 
																	72 | 
													2 | 
													6 | 
							
					
				| file_path() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| basename() | 
									S  | 
																	66 | 
													2 | 
													8 | 
							
					
				| integrations() | 
									S  | 
																	72 | 
													2 | 
													5 | 
							
					
				| term_exists() | 
									S  | 
																	62 | 
													1 | 
													12 | 
							
					
				| __construct() | 
									S  | 
																	91 | 
													1 | 
													2 | 
							
					
				| instance() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| set_post_data() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| set_post_meta() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| set_taxonomies() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| set_wc_categories() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| set_featured_image() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| set_attachment() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| set_gallery_images() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| get_is_new() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_api_item_id() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_source_id() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_source_name() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_primary_id() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_post_id() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_post_data() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_post_meta() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_taxonomies() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_wc_categories() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_featured_image() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_attributes() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_variations() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_product_type() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_gallery_images() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_gallery_details() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_attachment() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_selected_options() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_integrations() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_wc_prices() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| set_wc_prices() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| post_meta_key() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| post_meta_value() | 
									S  | 
																	73 | 
													1 | 
													4 | 
							
					
				| restricted_meta_keys() | 
									S  | 
																	65 | 
													1 | 
													10 |